home *** CD-ROM | disk | FTP | other *** search
-
-
- PHOENIX REMOTE COMMUNICATIONS SYSTEM DECEMBER 4, 1987
-
- 13.0 ONLINE PROGRAMS PROGRAMS EXPLAINED
-
- Online programs or "doors" as it is often referred to is now easier
- to set up, and faster than ever to use. Phoenix can NOW run an online
- program from ANYWHERE! An online program (door) can be executed from
- the main menu, the messages menu, the files menu, or any other menu you
- choose to set it up on. (Talk about flexibility!!) It is most common
- to have all of the online programs set up in 1 area, so that is what we
- will discuss, but remember that any of the following can be done in ANY
- MENU on the system.
-
- First call the online programs menu from another menu (like the
- main menu) by adding the following to the main menu.
-
- O,[O]nline programs,5,15,z
-
- If you don't remember this means that if a user has a security of 15 and
- enters an O that Phoenix will activate menu 5.
-
- A menu (here we are calling menu5.mnu) will have to be created. The
- following is an example of a basic online programs menu.
-
- Online Programs,door.hlp,n
- T,[T]radewars 500,tw5.bat,15,s
- K,[K]ing of the hill,king.bat,15,s
- C,[C]hess,chess.bat,15,s
- 1,[1] Tradewars Bulletin,twbull,15,d
- Q,[Q]uit to Main Menu,0,5,z
- X,[X]pert toggle,,10,X
- G,[G]oodbye,,4,G
- ?,[?]Help with commands,,4,?
-
- Briefly the first line says that Online Programs will be displayed at the
- command prompt. Door.hlp will be the help file associated with this menu.
- The command n means that this is not a message or a file menu.
- T,[T]radewars 500,tw5.bat,15,s means that if t was entered and the user has
- a minimum security of 15 that tw5.bat would be SHELLED from Phoenix.
- We will discuss the construction of a typical online program batch file a
- little farther down in the documentation. K & C are the same as the T
- function with the exception that they call different batch files.
- 1,[1] Tradewars bulletin,twbull,15,d
-
- Many of the online programs (doors) construct bulletins of various types.
- (Player rankings, winners list etc.) If you put this in your Phoenix
- directory, you can dump the bulletin DIRECTLY from the menu. (Alternatively
- you could post it in your bulletins or anywhere else you want)
- remember that the cci of d means to dump a ascii file, and that the .bbs
- and .clr rules apply, so if we have a file called twbull.bbs and the user
- enters 1 from our menu, and if they have a minimum security of 15 they
- will be dumped the file.
-
- Q,[Q]uit to main menu,0,5,z
-
- Remember that this is a MENU like any other menu, and if you do not allow
- the user to QUIT or return to the other Phoenix menus, they will be stuck
- there FOREVER (or until carrier is dropped of course), so REMEMBER to allow
- them to QUIT to some other menu!!!
-
-
-
-
-
-
-
- PHOENIX REMOTE COMMUNICATIONS SYSTEM DECEMBER 4, 1987
-
- G,[G]oodbye,,4,G
-
- This is just to show that ANY of the CCI's can be used in the menu, and
- you can actually allow the user to logoff the system from your online
- programs menu if you wish. (Or enter messages, or download files or
- whatever he might want!)
-
- ?,[?] Help with commands,,4,?
-
- On the very first line we said that the door.hlp file was the help file
- for this menu. If you construct a help file, REMEMBER to give the user
- access to it by putting the ? line in there!!
-
- The BATCH FILES for online programs are simple but there are a few
- important things to remember. In our menu above we put:
-
- T,[T]radewars 500,tw5.bat,15,s
-
- The batch file that will be SHELLED will be tw5.bat. Whatever is necessary
- to run your "door" or online program is all you need to put it your batch
- file. Example of a batch file to run the tradewars game would be:
-
- echo off
- cls
- cd\Phoenix\doors\tw5
- tw5
- cd\Phoenix
-
- Notice that we DO NOT call any Phoenix files at the end of this batch file!
- We are SHELLING from Phoenix, and if we reloaded Phoenix at the end of this
- batch file, then you would be shelling Phoenix from Phoenix, and end up with
- a real mess!! After the game has ended, and the batch file is completed
- nothing is necessary in the batch file, (no exit or anything) controll will
- be returned to Phoenix, and the user will be back at the online programs
- menu! This type of program execution (shelling) is extremly fast and
- many of the PCBoard or RBBS doors will at the end of the file say returning
- to bbs, please wait 20 seconds! Phoenix will take probably 1 to 2 seconds
- to return to the program!!! (depending on the length of your batch file)
- There are some Online programs that will need conversion to run with Phoenix.
- The latest copies of the conversion programs will be available at Aztec
- or The Sword of Fire (898/1). If for example you were running the chess
- door written for rbbs, a typical batch file might look like:
- cd\Phoenix\doors
- Copy \Phoenix\info.bbs (this may or may not be necessary, read the docs
- convert that accompany the your version of the convert
- cd\Phoenix\chess program you are using.)
- chessdor
- cd\Phoenix
- There is a file called WATCHDOG that can be used with online programs.
- Watchdog will re-boot most computers if carrier is lost. Many online
- programs are released prematurely and contain bugs that will halt the
- execution of the program. If the program you are running does, and you
- are NOT running watchdog, the user may drop carrier, and since Phoenix
- is not in control of your system (because the door is) your board could
- experience DOWN TIME. It is recommended that watchdog is used with MOST
- of the online programs that are available. Read the applicable
- documentation with your online program to see if there is some reason
- not to run watchdog. There are some programs that do NOT have
- communications routines in them. Many of them COULD be run by using
- the ctty com1 (or 2) and then ctty con. Example is a game called advent:
-
-
-
-
- PHOENIX REMOTE COMMUNICATIONS SYSTEM DECEMBER 4, 1987
-
- echo off
- cls
- cd\Phoenix\doors\advent
- ctty com1
- advent
- cd\Phoenix\
- ctty con
-
- I do NOT recommend using these commands because when you use the ctty com1
- everything goes out the port and you will see NOTHING on your screen until
- the user is finished with the program. There is the potential there too
- that by using the ctty commands a user COULD end up at DOS in your hard
- disk (if the program aborted or failed), so I would recommand NOT using
- these commands, but we bring this up to inform you that these types of
- programs will work with Phoenix. (See your dos manual for more info
- concerning ctty commands)
- There is also a program called cttyaux (or ibmaux) that
- will patch the ctty so that it DOES display to the screen (but the user
- could still potentially end up in dos! At least with that loaded, if you
- are watching, you still have control.)
-
- Finally (just for information), when Phoenix executes a
- batch file from a menu (using the s cci), a file called info.bbs is
- created. This is what the online programs (made for Phoenix), or the
- conversion programs to make other doors compatible with Phoenix use to
- get the users name, baud, time left etc.
-
- If you are having trouble setting up Online Programs on your
- system call The Sword of Fire bbs (898/1) and leave a message for the
- sysop there, and he will be glad to assist you in whatever you need.
- (Leave your net and node number and the sysop will validate you as
- visiting sysop).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-